{% if subitem.heading %}
{% if subitem.collapse %}
	<li class="expandable-collapsed">
{% else %}
    <li class="expandable">
{% endif %}

      <span>{{ subitem.heading }}</span>
      <ul>
{% for item in subitem.items %}
{% include 'soc/sidebar/menuitem.html' %}
{% endfor %}
      </ul>
    </li>
{% else %}
{% for item in subitem.items %}
{% include 'soc/sidebar/menuitem.html' %}
{% endfor %}
{% endif %}
